package com.lele.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lele.pojo.Menu;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lele
 * @since 2022-11-26
 */
public interface MenuMapper extends BaseMapper<Menu> {

    List<Menu> getAdminInfoByPrincipal(@Param("id") Integer id);

    List<Menu> getMenuWithRole();

}
